<?php !defined('DYHB_PATH') && exit; /* DoYouHaoBaby Framework 模板缓存文件 生成时间：2011-05-28 10:34:28  */ ?>
<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_header.html" ,"" ,"" ,"" )  ;?>

<script type="text/javascript">
<!--
function update(){

	Dyhb.AjaxSubmit('informationUpd','<?php echo( G::U('public/change_info') );?>');
}
-->
</script>

   <!-- 标题  -->
   <div class="title"><?php print G::L( "修改资料", null, null ) ; ?></div>

  <!-- 正文 -->
  <div id="content" class="content">
      <form  method="post" id="informationUpd">
      <table class="form-table full">
          <tr>
            <th valign="top"><label for="user_nikename"><?php print G::L( "昵称：", null, null ) ; ?></label></th>
            <td><input type="text" name="user_nikename" id="user_nikename" class="field" size="40"  value="<?php echo( $arrUserInfo->user_nikename ); ?>"/>
			<div class="description"><?php print G::L( "相对于登录名的一种雅称", null, null ) ; ?></div>
            </td>
          </tr>
          <tr>
            <th valign="top"><label for="user_email"><?php print G::L( "Email：", null, null ) ; ?></label></th>
            <td><input type="text" name="user_email" id="user_email" class="field" size="40" value="<?php echo( $arrUserInfo->user_email ); ?>"/>
			<div class="description"><?php print G::L( "用户常用的电子邮件地址", null, null ) ; ?></div>
            </td>
          </tr>
          <tr>
            <th valign="top"><label for="user_remark"><?php print G::L( "备 注：", null, null ) ; ?></label></th>
            <td><textarea name="user_remark" id="user_remark" class="field" cols="70" rows="5"><?php echo( $arrUserInfo->user_remark ); ?></textarea>
			<div class="description"><?php print G::L( "用户更多的一些相关信息", null, null ) ; ?></div>
            </td>
          </tr>
         <?php if($changeinfoseccode) :?>
		  <tr>
            <th valign="top"><label for="seccode"><?php print G::L( "验证码：", null, null ) ; ?></label></th>
            <td><input onfocus="updateSeccode();this.onfocus = null;" onBlur="checkSeccode();" type="text"  class="field" name="seccode" size="6" id="seccode"/>
			<span id="seccodeMessage">&nbsp;</span>
				<div class="description"><?php print G::L( "修改资料验证码", null, null ) ; ?></div>
				<br/>
		        <div id="seccodeImage"></div>
            </td>
          </tr>
		  <?php endif; ?>

          </table>
          <p class="center"><input type="hidden" name="ajax" value="1">
          <input type="hidden" name="user_id" value="<?php echo( $arrUserInfo->user_id ); ?>">
          <input type="button" onclick="update()"  class="button" value="  <?php print G::L( "修改资料", null, null ) ; ?>  " />
          <input type="button" onClick="history.back()" class="button" value="  <?php print G::L( "取消", null, null ) ; ?>  " />
        </p>
        </form>
   </div>
   <!-- end content -->

<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_footer.html" ,"" ,"" ,"" )  ;?>